<template>
  <div id="app">
    <router-view/>
  </div>
</template>

<script lang="ts">
  import { Component, Vue, Provide } from 'vue-property-decorator'
  @Component({
    components: {},
  })
  export default class Home extends Vue {
    @Provide() private bgImage(url: string, data: { backgroundImage?: string } = {}) {
      if (url) {
        data.backgroundImage = 'url(' + url + ')'
      }
      return data
    }
  }
</script>

<style>
#app {

}
</style>
